package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class PathSpecification {

    private int beginIndex;
    private int endIndex;
    private SchemaNameList schemaNameList;

    public PathSpecification(int beginIndex,
                             SchemaNameList schemaNameList) {
        this.beginIndex = beginIndex;
        this.endIndex = schemaNameList.getEndIndex();
        this.schemaNameList = schemaNameList;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SchemaNameList getSchemaNameList() {
        return schemaNameList;
    }

}
